package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the HIS_EMPLOYEE database table.
 * 
 */
@Entity
@Table(name="HIS_EMPLOYEE")
@NamedQuery(name="HisEmployee.findAll", query="SELECT h FROM HisEmployee h")
public class HisEmployee implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="YG_NO")
	private long ygNo;

	@Column(name="BM_NO")
	private BigDecimal bmNo;

	@Column(name="KS_NO")
	private BigDecimal ksNo;

	@Column(name="YG_ADDRESS")
	private String ygAddress;

	@Temporal(TemporalType.DATE)
	@Column(name="YG_BIRTH")
	private Date ygBirth;

	@Temporal(TemporalType.DATE)
	@Column(name="YG_ENTRY_DATE")
	private Date ygEntryDate;

	@Column(name="YG_ID_CARD")
	private String ygIdCard;

	@Column(name="YG_JOB")
	private String ygJob;

	@Column(name="YG_MARITAL_STATUS")
	private String ygMaritalStatus;

	@Column(name="YG_NAME")
	private String ygName;

	@Column(name="YG_NATION")
	private String ygNation;

	@Column(name="YG_NATIVE_PLACE")
	private String ygNativePlace;

	@Column(name="YG_POST")
	private String ygPost;

	@Column(name="YG_PSD")
	private String ygPsd;

	@Column(name="YG_SALARY")
	private BigDecimal ygSalary;

	@Column(name="YG_SERVICE_STATE")
	private String ygServiceState;

	@Column(name="YG_SEX")
	private String ygSex;

	@Column(name="YG_TEL")
	private String ygTel;

	public HisEmployee() {
	}

	public long getYgNo() {
		return this.ygNo;
	}

	public void setYgNo(long ygNo) {
		this.ygNo = ygNo;
	}

	public BigDecimal getBmNo() {
		return this.bmNo;
	}

	public void setBmNo(BigDecimal bmNo) {
		this.bmNo = bmNo;
	}

	public BigDecimal getKsNo() {
		return this.ksNo;
	}

	public void setKsNo(BigDecimal ksNo) {
		this.ksNo = ksNo;
	}

	public String getYgAddress() {
		return this.ygAddress;
	}

	public void setYgAddress(String ygAddress) {
		this.ygAddress = ygAddress;
	}

	public Date getYgBirth() {
		return this.ygBirth;
	}

	public void setYgBirth(Date ygBirth) {
		this.ygBirth = ygBirth;
	}

	public Date getYgEntryDate() {
		return this.ygEntryDate;
	}

	public void setYgEntryDate(Date ygEntryDate) {
		this.ygEntryDate = ygEntryDate;
	}

	public String getYgIdCard() {
		return this.ygIdCard;
	}

	public void setYgIdCard(String ygIdCard) {
		this.ygIdCard = ygIdCard;
	}

	public String getYgJob() {
		return this.ygJob;
	}

	public void setYgJob(String ygJob) {
		this.ygJob = ygJob;
	}

	public String getYgMaritalStatus() {
		return this.ygMaritalStatus;
	}

	public void setYgMaritalStatus(String ygMaritalStatus) {
		this.ygMaritalStatus = ygMaritalStatus;
	}

	public String getYgName() {
		return this.ygName;
	}

	public void setYgName(String ygName) {
		this.ygName = ygName;
	}

	public String getYgNation() {
		return this.ygNation;
	}

	public void setYgNation(String ygNation) {
		this.ygNation = ygNation;
	}

	public String getYgNativePlace() {
		return this.ygNativePlace;
	}

	public void setYgNativePlace(String ygNativePlace) {
		this.ygNativePlace = ygNativePlace;
	}

	public String getYgPost() {
		return this.ygPost;
	}

	public void setYgPost(String ygPost) {
		this.ygPost = ygPost;
	}

	public String getYgPsd() {
		return this.ygPsd;
	}

	public void setYgPsd(String ygPsd) {
		this.ygPsd = ygPsd;
	}

	public BigDecimal getYgSalary() {
		return this.ygSalary;
	}

	public void setYgSalary(BigDecimal ygSalary) {
		this.ygSalary = ygSalary;
	}

	public String getYgServiceState() {
		return this.ygServiceState;
	}

	public void setYgServiceState(String ygServiceState) {
		this.ygServiceState = ygServiceState;
	}

	public String getYgSex() {
		return this.ygSex;
	}

	public void setYgSex(String ygSex) {
		this.ygSex = ygSex;
	}

	public String getYgTel() {
		return this.ygTel;
	}

	public void setYgTel(String ygTel) {
		this.ygTel = ygTel;
	}

}